package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;
import java.util.List;

public interface OrderService {
    //订单列表
    Page<Order> findByPage(Integer pageNum, Integer pageSize, String number, Date beginTime, Date endTime);
    //提交订单
    void submit(Order orders);
    //查看订单
    Page<Order> findOrderByPage(Integer pageNum, Integer pageSize);
    //查看所有订单
    List<Order> findList();
    // 再来一单
    void againAdd(Long id);
    //订单派送
    void sendOrder(Order orders);
}
